#region Copyright Notice
/*
Copyright (C) 2011 by Ashley Ross

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#endregion Copyright Notice

using System;

namespace Manta.IO
{
    /// <summary>
    /// Common known reparse point tags.
    /// </summary>
    public enum ReparseTag : uint
    {
        /// <summary>
        /// IO_REPARSE_TAG_RESERVED_ZERO
        /// </summary>
        None = 0x00000000,
        /// <summary>
        /// IO_REPARSE_TAG_RESERVED_ONE
        /// </summary>
        One = 0x00000001,
        /// <summary>
        /// IO_REPARSE_TAG_CSV
        /// </summary>
        CSV = 0x80000009,
        /// <summary>
        /// IO_REPARSE_TAG_DFS: Distributed File System
        /// </summary>
        DFS = 0x8000000A,       // Previously 0x80000008, which is now used by WIM
        /// <summary>
        /// IO_REPARSE_TAG_DFSR: Distributed File System Replication (DFS-R)
        /// </summary>
        DFSR = 0x80000012,
        /// <summary>
        /// IO_REPARSE_TAG_DRIVE_EXTENDER: Windows Home Server Drive Extender
        /// </summary>
        DriveExtender = 0x80000005,
        /// <summary>
        /// IO_REPARSE_TAG_FILTER_MANAGER: Used by filter manager test harness, which is not shipped with Windows
        /// </summary>
        FilterManager = 0x8000000B,
        /// <summary>
        /// IO_REPARSE_TAG_HSM: Obsolete. Hierarchical Storage Management
        /// </summary>
        HSM = 0xC0000004,
        /// <summary>
        /// IO_REPARSE_TAG_HSM2: Obsolete. Hierarchical Storage Management
        /// </summary>
        HSM2 = 0x80000006,
        ///// <summary>
        ///// IO_REPARSE_TAG_NSS: Obsolete. Native Structure Storage, a feature removed from NTFS 3.0 during beta testing, tag reused by Drive Extender
        ///// </summary>
        //NSS = 0x80000005,
        ///// <summary>
        ///// IO_REPARSE_TAG_NSS_RECOVER: Obsolete. Native Structure Storage, tag reused by HSM2
        ///// </summary>
        //NSSRecover = 0x80000006,
        /// <summary>
        /// IO_REPARSE_TAG_MOUNT_POINT: Mount point support
        /// </summary>
        MountPoint = 0xA0000003,
        /// <summary>
        /// IO_REPARSE_TAG_SIS: Single-Instance Storage
        /// </summary>
        SIS = 0x80000007,
        /// <summary>
        /// IO_REPARSE_TAG_SYMLINK: Symbolic link support
        /// </summary>
        Symlink = 0xA000000C,
        /// <summary>
        /// IO_REPARSE_TAG_WIM
        /// </summary>
        WIM = 0x80000008,
    }
}
